package com.money.tracker.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.money.tracker.auth.entity.SysUserRole;

import java.util.List;

/**
 * <p>
 * 用户和角色关联表 服务类
 * </p>
 *
 * @author zhangshuai
 * @since 2024-09-27
 */
public interface ISysUserRoleService extends IService<SysUserRole> {


    /**
     * 获取用户对应角色
     *
     * @param userId
     * @return {@link List }<{@link Long }>
     */

    List<Long> listByUserId(Long userId);
}
